<%@page import="com.bkav.portal.portlet.product.model.Product"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"%>

<%@include file="/html/product_admin/init.jsp"%>
<%
	String  tabs1 = ParamUtil.getString(request,"tabs1","product");
	String tabNames = "product,category";
%>


<liferay-portlet:renderURL var="productAdminHomePageURL" >
	<liferay-portlet:param name="jspPage" value="/html/product_admin/view.jsp"/>
</liferay-portlet:renderURL>
<liferay-ui:tabs names="<%=tabNames %>" url="<%=productAdminHomePageURL.toString() %>">

	<c:if test='<%=tabs1.equals("product") %>'>
	    <liferay-util:include page="/html/product_admin/product/product.jsp" servletContext="<%=this.getServletContext() %>"/>
	</c:if>
				
	<c:if test='<%=tabs1.equals("category") %>'>
	    <liferay-util:include page="/html/product_admin/category/category.jsp" servletContext="<%=this.getServletContext() %>"/>
	</c:if>
</liferay-ui:tabs>
